package com.base.service.impl;

import com.base.mapper.voipmapper.ReplacementPayMapper;
import com.base.po.replacement.ReplacementPay;
import com.base.po.replacement.ReplacementPayExample;
import com.base.service.ReplacementPayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("replacementPayService")
public class ReplacementPayServiceImpl implements ReplacementPayService {
	
	@Autowired
	private ReplacementPayMapper replacementPayMapper;


	@Override
	public int countByExample(ReplacementPayExample example) {
		return replacementPayMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(ReplacementPayExample example) {
		return replacementPayMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(String id) {
		return replacementPayMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ReplacementPay record) {
		return replacementPayMapper.insert(record);
	}

	@Override
	public int insertSelective(ReplacementPay record) {
		return replacementPayMapper.insertSelective(record);
	}

	@Override
	public List<ReplacementPay> selectByExample(ReplacementPayExample example) {
		return replacementPayMapper.selectByExample(example);
	}

	@Override
	public ReplacementPay selectByPrimaryKey(String id) {
		return replacementPayMapper.selectByPrimaryKey(id);
	}

	@Override
	public ReplacementPay selectByOrderNo(String orderno) {
		return replacementPayMapper.selectByOrderNo(orderno);
	}

	@Override
	public ReplacementPay selectByYptOrderNo(String yptorderno) {
		return replacementPayMapper.selectByYptOrderNo(yptorderno);
	}

	@Override
	public int updateByExampleSelective(ReplacementPay record, ReplacementPayExample example) {
		return replacementPayMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(ReplacementPay record, ReplacementPayExample example) {
		return replacementPayMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(ReplacementPay record) {
		return replacementPayMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ReplacementPay record) {
		return replacementPayMapper.updateByPrimaryKey(record);
	}
}
